#include "solver.h"

class Solver2 : public Solver
{
public:
	Solver2(double u0, double b, double eps, double eps_r, int n, double h): Solver(u0, b, eps, eps_r, n,  h) {};

private:
	virtual double f(double x, double u) { return x*u*u/(1 + x*x) + u - u*u*u*sin(10*x); }
	virtual double u(double x) { return 0; };
};